package com.zzg.cloud.feignresponse;

import com.zzg.cloud.dto.BaseFallBackFactory;
import feign.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 学员流转记录API
 */
@FeignClient(name = "vipthink-eos-lp-user-flow", url = "localhost:8903", fallbackFactory = TransferLogFeignApi.TransferLogApiFallBackFactory.class)
public interface TransferLogFeignApi {
    @Component
    class TransferLogApiFallBackFactory extends BaseFallBackFactory<TransferLogFeignApi> {
    }
    @PostMapping("/api/transferLog/exportTransferLog")
    Response exportTransferLog(@RequestBody PoolTransferLogReq poolTransferLogReq);
}
